package com.corechina.apex_osswords.domain.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.corechina.apex_osswords.domain.entity.CoreReminderClassification;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.corechina.apex_osswords.domain.vo.CoreReminderClassificationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 提醒分类配置表 Mapper 接口
 * </p>
 *
 * @author fyh
 * @since 2024-02-19
 */
@Mapper
public interface CoreReminderClassificationMapper extends BaseMapper<CoreReminderClassification> {
//    CoreReminderClassificationVo getCorporateReminder(@Param("corporateId") Integer enterprise_id);

    IPage<CoreReminderClassificationVo> getList(Page page, @Param("classifying") Integer classifying, @Param("name") String name, @Param("creator") Integer creator, @Param("enterpriseId") Integer enterpriseId);

    CoreReminderClassificationVo nameChecking(@Param("name") String name);

    CoreReminderClassificationVo nameSearch(@Param("name") String name);
}
